Component org.nuxeo.ecm.directories
In bundle org.nuxeo.ecm.default.config
Resolution Order
326
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.directories">
<!-- template definitions for vocabularies -->
<extension target="org.nuxeo.ecm.directory.GenericDirectory" point="directories">
<directory name="template-vocabulary" template="true" extends="template-directory">
<schema>vocabulary</schema>
<idField>id</idField>
</directory>
<directory name="template-xvocabulary" template="true" extends="template-directory">
<schema>xvocabulary</schema>
<idField>id</idField>
</directory>
<directory name="template-l10nxvocabulary" template="true" extends="template-directory">
<schema>l10nxvocabulary</schema>
<idField>id</idField>
</directory>
<directory name="template-documentsLists" template="true" extends="template-directory">
<schema>documentsLists</schema>
<idField>id</idField>
</directory>
</extension>
<!-- vocabulary definitions -->
<extension target="org.nuxeo.ecm.directory.GenericDirectory" point="directories">
<directory name="country" extends="template-xvocabulary">
<parentDirectory>continent</parentDirectory>
<dataFile>directories/country.csv</dataFile>
</directory>
<directory name="continent" extends="template-vocabulary">
<deleteConstraint
class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
<property name="targetDirectory">country</property>
<property name="targetDirectoryField">parent</property>
</deleteConstraint>
<dataFile>directories/continent.csv</dataFile>
</directory>
<directory name="l10ncoverage" extends="template-l10nxvocabulary">
<parentDirectory>l10ncoverage</parentDirectory>
<deleteConstraint
class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
<property name="targetDirectory">l10ncoverage</property>
<property name="targetDirectoryField">parent</property>
</deleteConstraint>
<dataFile>directories/l10ncoverage.csv</dataFile>
</directory>
<directory name="subtopic" extends="template-xvocabulary">
<parentDirectory>topic</parentDirectory>
<dataFile>directories/subtopic.csv</dataFile>
</directory>
<directory name="topic" extends="template-vocabulary">
<deleteConstraint
class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
<property name="targetDirectory">subtopic</property>
<property name="targetDirectoryField">parent</property>
</deleteConstraint>
<dataFile>directories/topic.csv</dataFile>
</directory>
<directory name="l10nsubjects" extends="template-l10nxvocabulary">
<parentDirectory>l10nsubjects</parentDirectory>
<deleteConstraint
class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
<property name="targetDirectory">l10nsubjects</property>
<property name="targetDirectoryField">parent</property>
</deleteConstraint>
<dataFile>directories/l10nsubjects.csv</dataFile>
</directory>
<directory name="subject" extends="template-vocabulary">
<types>
<type>system</type>
</types>
<dataFile>directories/subject.csv</dataFile>
</directory>
<directory name="search_operators" extends="template-vocabulary">
<types>
<type>system</type>
</types>
<dataFile>directories/search_operators.csv</dataFile>
</directory>
<directory name="documentsLists" extends="template-documentsLists">
<types>
<type>system</type>
</types>
<permissions>
<permission name="Write">
<group>Everyone</group>
</permission>
</permissions>
</directory>
<directory name="language" extends="template-vocabulary">
<dataFile>directories/language.csv</dataFile>
</directory>
<directory name="nature" extends="template-vocabulary">
<dataFile>directories/nature.csv</dataFile>
</directory>
</extension>
</component>